package com.ruoyi.web.pojo.vo.devicedata;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @desc  因子的统计数据
 * @author fwx 2024/2/27 10:27
 **/
@Data
public class PropertyCountVO {

    @ApiModelProperty(value = "设备编号")
    private String deviceId;

    @ApiModelProperty(value = "要展示的名称")
    private List<String> showNames;

    @ApiModelProperty(value = "当日最高值")
    private Double dayMax;

    @ApiModelProperty(value = "当日最高值")
    private Double dayMin;

    @ApiModelProperty(value = "当日最高值")
    private Double dayAvg;

    @ApiModelProperty(value = "当日最高值时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dayMaxTime;

    @ApiModelProperty(value = "当日最低值时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dayMinTime;

    @ApiModelProperty(value = "当月最高值")
    private Double monthMax;

    @ApiModelProperty(value = "当月最高值")
    private Double monthMin;

    @ApiModelProperty(value = "当月最高值")
    private Double monthAvg;

    @ApiModelProperty(value = "当月最高值时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime monthMaxTime;

    @ApiModelProperty(value = "当月最低值时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime monthMinTime;

    @ApiModelProperty(value = "当月最高值")
    private Double yearMax;

    @ApiModelProperty(value = "当月最高值")
    private Double yearMin;

    @ApiModelProperty(value = "当月最高值")
    private Double yearAvg;

    @ApiModelProperty(value = "当月最高值时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime yearMaxTime;

    @ApiModelProperty(value = "当月最低值时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime yearMinTime;

}
